package campus.service.serviceImpl;

import campus.dao.StuDao;
import campus.model.Stu;
import campus.service.StuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StuServiceImpl implements StuService {

    @Autowired(required = false)
    private StuDao tStuDao;


    @Override
    public Stu selectByPrimaryKey(Integer stuid) {
        Stu s=tStuDao.selectByPrimaryKey(stuid);
        return s;
    }
}
